Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Timing2to3.html |
Url | http://hl7.org/fhir/StructureMap/Timing2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Timing2to3 |
Title | Timing Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | TimingTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Timing2to3' /// name = 'Timing2to3' /// title = 'Timing Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/Timing" alias TimingR2 as source uses "http://hl7.org/fhir/3.0/Timing" alias Timing as target imports "http://hl7.org/fhir/StructureMap/primitives2to3" imports "http://hl7.org/fhir/StructureMap/Element2to3" imports "http://hl7.org/fhir/StructureMap/Period2to3" imports "http://hl7.org/fhir/StructureMap/Range2to3" imports "http://hl7.org/fhir/StructureMap/CodeableConcept2to3" group Timing(source src : TimingR2, target tgt : Timing) extends Element <<type+>> { src.event -> tgt.event "Timing-event"; src.repeat as vs0 -> tgt.repeat as vt0 then { vs0.bounds : Range as vs -> vt0.bounds = create('Range') as vt then Range(vs, vt) "repeat-bounds-Range"; vs0.bounds : Period as vs -> vt0.bounds = create('Period') as vt then Period(vs, vt) "repeat-bounds-Period"; vs0.count -> vt0.count "repeat-count"; vs0.duration -> vt0.duration "repeat-duration"; vs0.durationMax -> vt0.durationMax "repeat-durationMax"; vs0.durationUnits -> vt0.durationUnit "repeat-durationUnit"; vs0.frequency -> vt0.frequency "repeat-frequency"; vs0.frequencyMax -> vt0.frequencyMax "repeat-frequencyMax"; vs0.period -> vt0.period "repeat-period"; vs0.periodMax -> vt0.periodMax "repeat-periodMax"; vs0.periodUnits -> vt0.periodUnit "repeat-periodUnit"; vs0.when as v -> vt0.when = translate(v, '#EventTiming', 'code') "repeat-when"; } "Timing-repeat"; src.code -> tgt.code "Timing-code"; }
{
"resourceType" : "StructureMap",
"id" : "Timing2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Timing2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Timing2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Timing Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Timing<span style=\"color: navy\">" </span><b>alias </b>TimingR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Timing<span style=\"color: navy\">" </span><b>alias </b>Timing <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-primitives2to3.html\" title=\"Primitive Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/primitives2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Element2to3.html\" title=\"Period Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Element2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Period2to3.html\" title=\"Period Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Period2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Range2to3.html\" title=\"Range Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Range2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-CodeableConcept2to3.html\" title=\"CodeableConcept Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/CodeableConcept2to3</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Timing<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>TimingR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Timing<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.event<span style=\"color: navy\"><b> -> </b></span>tgt.event <i>"Timing-event"</i><span style=\"color: navy\">;</span>\r\n src.repeat<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.repeat<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.bounds<span style=\"color: navy\"> : </span>Range<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.bounds = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Range'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Range<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"repeat-bounds-Range"</i><span style=\"color: navy\">;</span>\r\n vs0.bounds<span style=\"color: navy\"> : </span>Period<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.bounds = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Period'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Period<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"repeat-bounds-Period"</i><span style=\"color: navy\">;</span>\r\n vs0.count<span style=\"color: navy\"><b> -> </b></span>vt0.count <i>"repeat-count"</i><span style=\"color: navy\">;</span>\r\n vs0.duration<span style=\"color: navy\"><b> -> </b></span>vt0.duration <i>"repeat-duration"</i><span style=\"color: navy\">;</span>\r\n vs0.durationMax<span style=\"color: navy\"><b> -> </b></span>vt0.durationMax <i>"repeat-durationMax"</i><span style=\"color: navy\">;</span>\r\n vs0.durationUnits<span style=\"color: navy\"><b> -> </b></span>vt0.durationUnit <i>"repeat-durationUnit"</i><span style=\"color: navy\">;</span>\r\n vs0.frequency<span style=\"color: navy\"><b> -> </b></span>vt0.frequency <i>"repeat-frequency"</i><span style=\"color: navy\">;</span>\r\n vs0.frequencyMax<span style=\"color: navy\"><b> -> </b></span>vt0.frequencyMax <i>"repeat-frequencyMax"</i><span style=\"color: navy\">;</span>\r\n vs0.period<span style=\"color: navy\"><b> -> </b></span>vt0.period <i>"repeat-period"</i><span style=\"color: navy\">;</span>\r\n vs0.periodMax<span style=\"color: navy\"><b> -> </b></span>vt0.periodMax <i>"repeat-periodMax"</i><span style=\"color: navy\">;</span>\r\n vs0.periodUnits<span style=\"color: navy\"><b> -> </b></span>vt0.periodUnit <i>"repeat-periodUnit"</i><span style=\"color: navy\">;</span>\r\n vs0.when<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>vt0.when = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#EventTiming'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>"repeat-when"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"Timing-repeat"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"Timing-code"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Timing2to3",
"version" : "0.1.0",
"name" : "Timing2to3",
"title" : "Timing Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "TimingTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/Timing",
"mode" : "source",
"alias" : "TimingR2"
},
{
"url" : "http://hl7.org/fhir/3.0/Timing",
"mode" : "target",
"alias" : "Timing"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/primitives2to3",
"http://hl7.org/fhir/StructureMap/Element2to3",
"http://hl7.org/fhir/StructureMap/Period2to3",
"http://hl7.org/fhir/StructureMap/Range2to3",
"http://hl7.org/fhir/StructureMap/CodeableConcept2to3"
],
"group" : [
{
"name" : "Timing",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "TimingR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "Timing",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Timing-event",
"source" : [
{
"context" : "src",
"element" : "event",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "event",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Timing-repeat",
"source" : [
{
"context" : "src",
"element" : "repeat",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeat",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "repeat-bounds-Range",
"source" : [
{
"context" : "vs0",
"type" : "Range",
"element" : "bounds",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "bounds",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Range"
}
]
}
],
"dependent" : [
{
"name" : "Range",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "repeat-bounds-Period",
"source" : [
{
"context" : "vs0",
"type" : "Period",
"element" : "bounds",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "bounds",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Period"
}
]
}
],
"dependent" : [
{
"name" : "Period",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "repeat-count",
"source" : [
{
"context" : "vs0",
"element" : "count",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "count",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-duration",
"source" : [
{
"context" : "vs0",
"element" : "duration",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "duration",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-durationMax",
"source" : [
{
"context" : "vs0",
"element" : "durationMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "durationMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-durationUnit",
"source" : [
{
"context" : "vs0",
"element" : "durationUnits",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "durationUnit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-frequency",
"source" : [
{
"context" : "vs0",
"element" : "frequency",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "frequency",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-frequencyMax",
"source" : [
{
"context" : "vs0",
"element" : "frequencyMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "frequencyMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-period",
"source" : [
{
"context" : "vs0",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-periodMax",
"source" : [
{
"context" : "vs0",
"element" : "periodMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "periodMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-periodUnit",
"source" : [
{
"context" : "vs0",
"element" : "periodUnits",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "periodUnit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-when",
"source" : [
{
"context" : "vs0",
"element" : "when",
"variable" : "v"
}
],
"target" : [
{
"context" : "vt0",
"element" : "when",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#EventTiming"
},
{
"valueString" : "code"
}
]
}
]
}
]
},
{
"name" : "Timing-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.